package cn.com.git;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.context.annotation.ComponentScan;
import org.springframework.transaction.annotation.EnableTransactionManagement;

//http://localhost:8002/workflow-api/swagger-ui.html#/
@MapperScan("cn.com.git.workflow.dao.mapper")
@ComponentScan(basePackages = {"cn.com.git.workflow"})
@SpringBootApplication
@EnableTransactionManagement
public class WorkflowApiApplication {

    public static void main(String[] args) {
        SpringApplication.run(WorkflowApiApplication.class, args);
    }

}
